package com.itheima.service;

import com.itheima.entity.PageResult;
import com.itheima.entity.QueryPageBean;
import com.itheima.pojo.Permission;

/**
 * @author 林道样
 * @date 2020-03-08 15:03
 */
public interface PermissionService {
    void add(Permission permission);

    PageResult findPage(QueryPageBean queryPageBean);

    Permission findById(Integer id);

    void edit(Permission permission);

    void delete(Integer id);
}
